package javabase.biji;

import java.util.ArrayList;

/**
 * @Auther: luzhanshi
 * @Date: 2021/2/1 - 02 - 01 - 10:21 
 * @Description: javabase.biji
 * @version: 1.0
 */
public class _18集合_Arraylist {
    public static void main(String[] args) {
        ArrayList<Object> objects = new ArrayList<>();
        objects.add("str");
        objects.add(true);
        objects.add(123);
        for (int i = 0; i < objects.size(); i++) {
            System.out.println(objects.get(i));
        }
        objects.remove(true);
        System.out.println(objects.toString());
    }
}
